import Vue from 'vue'
import App from './App'

Vue.config.productionTip = false

// main.js
import uView from "uview-ui";
import loadMore from './components/uni-pro/load-more'
import empty from './components/empty'
import HttpRequest from './common/httpRequest'
import HttpCache from './common/cache'
import queue from './common/queue'
Vue.use(uView);
Vue.config.productionTip = false;
Vue.prototype.$Request = HttpRequest;
Vue.prototype.$queue = queue;
Vue.prototype.$Sysconf = HttpRequest.config;
Vue.prototype.$SysCache = HttpCache;

App.mpType = 'app'
Vue.component('load-more', loadMore);
Vue.component('empty', empty);

const app = new Vue({
    ...App
})
app.$mount()
